package com.demo;

import com.demo.interfaces.IFruit;
import com.demo.interfaces.IFruitFactory;

public class AppleFactoryImpl implements IFruitFactory {
    @Override
    public IFruit getFruit() {
        return new Apple();
    }
}
